AssetPlacement

constructor(parent: DesignBlock? = null, center: PointF? = null)

Parameters

parent

the block that the new block is added to. null adds it to the current page, and so does an invalid block such as -1.

center

the center of the new block, in design units relative to parent. Both coordinates must be finite. null places the block automatically.